#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework1_2.py
# author:wmf
# datetime:2021/3/7 18:35
# software: PyCharm
'''
this is function description
'''
# import module your need

#2 一个字典中，存放了10个学生的学号（key）和分数（value）；请筛选输出，大于80分的同学（按照格式：学号：分数）；

student={"01":59,"02":65,"03":100,"04":98,"05":82,"06":80,"07":86,"08":77,"09":84,"10":47}
print("10位学生的学号以及成绩:")
print(student)

score_higher_than80 = {key:value for key, value in student.items() if value > 80}
print("分数高于80分的学生:")
print(score_higher_than80)